<?php echo $this->Session->flash(); ?>
<script>
    $(document).ready(function() {
        $('#evaluacionFinal').load('<?php echo $html->url(array('controller' => 'FinalEvaluations', 'action' => 'index')) ?>');
    })
</script>
<h1>PREDIOS PROYECTO <?php echo$cod; ?></h1>
<table  id="tabla" class="tabla" >
    <thead>
        <tr>
            <th>Código</th>
            <th>Nombre</th>
            <th>Vereda</th>
            <th>Controles de calidad</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($properties as $property): ?>
            <tr>
                <td><?php echo $property['Property']['codigo'] ?></td>
                <td><?php echo $property['Property']['nombre'] ?></td>
                <td><?php echo $property['Property']['vereda'] ?></td>
                <td><?php echo $ajax->link("Ver controles", array('controller' => 'quality_controls', 'action' => 'quality_index', $property['Property']['id']), array('update' => 'content', 'indicator' => 'loading', 'escape' => false)); ?></td>
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>
<br><br>
<div id="evaluacionFinal">
    
</div>